package com.java.packaages.test1;

/**
 * @author luzhikun
 * @date 2020/12/5- 16:08
 */
public class Order {
    public String name;
    protected char sex;
    int age;
    private String color;

    public void setName() {
        setAge();
        setColor();
        setSex();
        setName();
    }

    protected void setSex() {
        setAge();
        setColor();
        setSex();
        setName();

    }

    void setAge() {
        setAge();
        setColor();
        setSex();
        setName();

    }

    private void setColor() {
        setAge();
        setColor();
        setSex();
        setName();

    }
}
